home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / debugger / ddd-1.000 / ddd-1 / ddd-1.4b / PROBLEMS < prev    next >
Encoding:
Text File  |  1996-01-11  |  4.4 KB  |  136 lines

  1. Problems in building and installing DDD                          -*- text -*-
  2. ***************************************
  3.  
  4. AIX
  5. ===
  6.  
  7. Reported by:  bas@phys.uva.nl (Bas V. de Bakker),
  8.               smueller@dbis1.informatik.uni-hamburg.de (Stefan Mueller)
  9.  
  10.     `ddd.C' won't compile on rs6000-ibm-aix3 and powerpc-ibm-aix3, due
  11.     to an error message from the assembler.  According to Stefan
  12.     Mueller and Bas V. de Bakker, the problem disappears when DDD is
  13.     compiled without `-O'.  Stefan Mueller also states that GCC chokes
  14.     on `BreakPoint.C'; it can only be compiled without
  15.     `-felide-constructors' flag.
  16.  
  17.     We recommend the following simple way to build DDD on AIX:
  18.     
  19.     1. Enter `make -k'.  This builds all except erroneous files.
  20.  
  21.     2. In the `ddd' subdirectory, enter 
  22.        `make CXXOPT= CXXSTUFF=-fexternal-templates'.  This builds
  23.        the remainder of DDD without `-O' and `-felide-constructors' flags.
  24.  
  25.     Note that DBX support has only been tested on Suns; DBX on AIX may be
  26.     a quite different program.
  27.  
  28.  
  29. Alpha OSF
  30. =========
  31.  
  32. Reported by:  Walter Tuppa <tuppa@iue.tuwien.ac.at>
  33.  
  34.      Building DDD on Alpha OSF brings some difficulties, since librx.a
  35.      (the GNU regular expression library) is not 64-bit clean.  The
  36.      following procedure should work:
  37.  
  38.      1. Configure DDD as stated in the installation guide.
  39.  
  40.      2. `librx' must be compiled using the native `cc' compiler, using
  41.         the `-taso' flag.  Set `CC = cc -taso' in `librx/Makefile'.
  42.  
  43.      3. `ddd' can be compiled using GCC, but requires the `-taso' flag
  44.          to be set as well.  Search for the definition of `COMPILE.cc' in
  45.          `ddd/Makefile'.  Add a `-taso' flag after `$(CXX)'.
  46.  
  47.      4. `ddd' should be linked using the native `cc' compiler, again
  48.          using the `-taso' flag.  Search for the definition of
  49.          `LINK.cc' in `ddd/Makefile'.  Replace `$(CXX)' by `cc -taso'.
  50.  
  51.      5. Build DDD as recommended.
  52.  
  53.      These steps make the DDD binary use only a 31-bit address space
  54.      and avoid problems between integer and pointer conversion.
  55.  
  56.  
  57. FreeBSD
  58. =======
  59.  
  60. Reported by:  taob@gate.sinica.edu.tw (Brian Tao)
  61.  
  62.     Use `gmake' (GNU make) instead of `make' for building DDD.
  63.  
  64. Reported by: Vincenzo Capuano <vcapuano@esoc.esa.de>
  65.  
  66.     Add `-lmytinfo' as additional library to build DDD.
  67.  
  68.  
  69. GCC 2.3, 2.4, 2.5
  70. =================
  71.  
  72.     Lots and lots of warnings; nearly all of them insignificant.
  73.  
  74.  
  75. HP-UX
  76. =====
  77.  
  78.     Various linking problems have been reported.  This is probably due
  79.     to an error in the HP-UX linker.  According to some DDD users, the
  80.     problem can be solved by using patched versions of the GNU
  81.     binutils (such as ld and ar) instead of the HP-UX binutils.
  82.     For more information on HP-PA versions of the GNU tools, see
  83.     `ftp://jaguar.cs.utah.edu/dist/pagnutools.html'.
  84.  
  85.     Ivar Ruyter <ivarr@troll.hz.kfa-juelich.de> states: Build
  86.     everything statically and add `-l:libdld.sl' to the LIBS line in
  87.     the Makefile, voila you have a nice new Christmas Present.
  88.  
  89.  
  90. LINUX
  91. =====
  92.  
  93. Reported by: Ronald Wahl <Ronald.Wahl@Informatik.TU-Chemnitz.DE>
  94.  
  95.      Remove the double `-lc' when linking DDD to avoid a
  96.      segmentation fault immediately after startup.
  97.  
  98.  
  99. Reported by:  Bernie Borenstein <c372321@hc1056.mdc.com>
  100.  
  101.      Make sure you use libc version 4.6.27 or later.  Otherwise some
  102.      Motif versions will cause DDD to crash as soon as `Open
  103.      Program...' is selected (or any other file selection dialog is
  104.      opened).  Linux Motif's are very sensitive about this.
  105.  
  106.      As an intermediate workaround, use the GDB `file' and `core'
  107.      commands; to open a specific source, use the GDB `info file
  108.      FUNCTION' command, where FUNCTION is a function defined in that
  109.      source file.
  110.  
  111.  
  112.  
  113. SunOS 4.1 and X11R6
  114. ===================
  115.  
  116. Reported by:  dmitzel@everest.hitc.com (Danny J. Mitzel) and
  117.     doko@cs.tu-berlin.de (Matthias Klose)
  118.  
  119.     Using certain Motif and Athena libraries may cause
  120.     `_vendorShellWidgetClass' to be defined twice.  A possible
  121.     workaround is to configure DDD to run without Athena widgets
  122.     (i.e. in `config.h', undefine `HAVE_ATHENA_WIDGETS' and remove the
  123.     -lXaw flag from the `Makefile' linking command).
  124.  
  125.  
  126. X11R4
  127. =====
  128.  
  129. Reported by:  mlj@gensym.com (Magnus Ljungberg)
  130.  
  131.     You may need to prohibit the use of the _XEditResCheckMessages()
  132.     function by entering a line saying '#undef HAVE_X11_XMU_EDITRES_H' in
  133.     `ddd.C'.
  134.  
  135. $Id: PROBLEMS,v 1.14 1996/01/11 16:29:36 zeller Exp $
  136.